package com.admin.dao

import com.data.annotation.NoargAnnotation
import com.data.annotation.OpenAnnotation
import com.data.bean.ThemeClass
import org.apache.ibatis.annotations.Param
import org.springframework.stereotype.Repository

/**
 * FileName: ThemeClassDao
 * Author:   HingLo
 * Date:     2017/11/6 11:03
 * Description: 主题分类的Dao
 */
@Repository
@OpenAnnotation
@NoargAnnotation
interface ThemeClassDao {
    fun listThemeClassDao(): List<ThemeClass>
    fun changeThemeClassDao(@Param("id") id: String, @Param("name") name: String): Int
    fun deleteThemeClassDao(@Param("id") id: String): Int
    fun saveMassageDao(@Param("themeClass") themeClass: ThemeClass): Boolean
}
